require 'rubygems'
require 'active_record'
require 'active_support'

Dir["models/*.rb"].each{|ea| require ea}

### connection

ActiveRecord::Base.establish_connection(
  :adapter => 'postgresql',
  :database => ''
)                                       

# turn on if logging to the console is wanted:
ActiveRecord::Base.logger = Logger.new(STDOUT)

